public class Text {
    public static void main(String[] args) {

        PetDog dog1 = new PetDog();
        dog1.name = "小黑";
        dog1.color = "黑色";
        dog1.barks();
        dog1.wag();

        PetDog dog2 = new PetDog();
        dog2.name = "小黄";
        dog2.color = "黄色";
        dog2.barks();
        dog2.wag();

        Student stu = new Student();
        stu.name = "小明";
        stu.sex = "男";
        stu.age = 12;
        stu.score = 92.1;
        stu.doClass();
        stu.doHomework();
        stu.doText();

        Date day1 = new Date();
//        day1.setDay(2024,7,17);
        day1.printDay();

        Date day2 = new Date();
        day2.setDay(2023,7,15);
        day2.printDay();

        Date day3 = new Date(2023,1,11);

    }
}
